<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$ret_arr["type"] = 404;
$ret_arr["data"] = NULL;
$ret_arr["message"] = "[" . $heading . "]" . $message;

echo json_encode($ret_arr);